Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUGFIX][BACKPORT-0.6][ARITH] Fix FloorMod Simplifier #5505

Merged
merged 1 commit into from
May 4, 2020

Conversation

kevinthesun
Copy link
Contributor

@kevinthesun kevinthesun commented May 4, 2020

In this issue, tvm StorageFlatten pass messes up indexing. The reason is that in Canonical Simplifier SplitModConst function, scale is not updated for updated SplitExpr.

@tqchen Could you take a look and make sure this is the appropriate fix?

@kevinthesun kevinthesun requested a review from tqchen May 4, 2020 00:32
@tqchen
Copy link
Member

tqchen commented May 4, 2020

cc @yongfeng-nv @Hzfengsy @icemelon9

Copy link
Member

@junrushao junrushao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tqchen tqchen merged commit 6bbab4c into apache:master May 4, 2020
@tqchen
Copy link
Member

tqchen commented May 4, 2020

Thanks @kevinthesun I checked and it is indeed the correct fix. Thanks @junrushao1994 @Hzfengsy

@tqchen tqchen changed the title [ARITH][Canonical Simplifier]Fix FloorMod [BUGFIX][BACKPORT-0.6][ARITH] Fix FloorMod Simplifier May 4, 2020
@tqchen
Copy link
Member

tqchen commented May 4, 2020

@kevinthesun can you also send a PR to the 0.6 branch? Thank you!

@kevinthesun
Copy link
Contributor Author

@kevinthesun can you also send a PR to the 0.6 branch? Thank you!

Sure will do.

@kevinthesun kevinthesun deleted the FixSimplifier branch May 26, 2020 17:30
trevor-m pushed a commit to trevor-m/tvm that referenced this pull request Jun 9, 2020
trevor-m pushed a commit to trevor-m/tvm that referenced this pull request Jun 18, 2020
trevor-m pushed a commit to neo-ai/tvm that referenced this pull request Jun 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants